package com.anysoft.callback.rxjavahelper;

/**
 * Created by lty on 2018/5/18.
 */

public class RxException extends Exception {
    
    public RxException(String errorCode, String message) {
        switch (errorCode) {
            case "1036": //重新登录
            case "DS1036": //重新登录
                break;
            case "DS2118": //风险评测过期
            case "9527"://风险评测过期
                break;
            case "DS9999": //服务器忙
            case "-9999": //服务器忙
                break;
            default:
                break;
        }
    }
}

